<?php

class ImportAdminController extends Controller {
    public function actionIndex() {
        // $this -> show($content, 'utf-8');

        //Reset Table
        $tu = new TableUtil();
        $tu -> resetAllTables();

        //Import xml
        $importXml = A('ImportXml');
        //  $importXml -> loadDir('F:/t/');
        $importXml -> loadDir("D:/Projekte/Hhp/briefe/");

        //Create index
        $tu -> createPersonIndex();
    }

}
